import { Card, CardBody } from "@heroui/react";

export default function GeneralCard({
  title = "",
  classNames = { base: "", warpper: "", body: "" },
  children,
  shadow = "none",
  radius = "none",
}) {
  return (
    <main className={classNames.warpper}>
      <Card
        radius={radius}
        shadow={shadow}
        className={classNames.base}
        classNames={{
          body: classNames.body,
        }}
      >
        <CardBody>{children}</CardBody>
      </Card>
    </main>
  );
}
